package com.hongdee.scm.saleorder.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by Mr. Xu on 2017/5/12.
 * 销售单
 */
@Entity
@Table(name = "T_Scm_Sale_Order")
public class TScmSaleOrder extends BaseEntity {
    /**
     * 销售单编号
     */
    @Column(name = "sale_order_num", length=32, columnDefinition = " VARCHAR(32) COMMENT '销售单编号' ")
    private String saleOrderNum;
    /**
     * 发票号
     */
    @Column(name = "invoice_num", length=32, columnDefinition = " VARCHAR(32) COMMENT '发票号' ")
    private String invoiceNum;
    /**
     * 开票状态
     */
    @Column(name = "invoice_status", length=1, columnDefinition = " VARCHAR(1) COMMENT '开票状态' ")
    private String invoiceStatus;
    /**
     * 车辆销售价格
     */
    @Column(name = "sale_order_price", length=32, columnDefinition = " VARCHAR(32) COMMENT '车辆销售价格' ")
    private String saleOrderPrice;
    /**
     * 发票价格
     */
    @Column(name = "invoice_price", length=32, columnDefinition = " VARCHAR(32) COMMENT '发票价格' ")
    private String invoicePrice;
    /**
     * 车辆价格
     */
    @Column(name = "car_price", length=32, columnDefinition = " VARCHAR(32) COMMENT '车辆价格' ")
    private String carPrice;
    /**
     * 装具价格
     */
    @Column(name = "equipment_price", length=32, columnDefinition = " VARCHAR(32) COMMENT '装具价格' ")
    private String equipmentPrice;
    /**
     * 延保价格
     */
    @Column(name = "exsurance_price", length=32, columnDefinition = " VARCHAR(32) COMMENT '延保价格' ")
    private String exsurancePrice;
    /**
     * 代办价格
     */
    @Column(name = "agency_price", length=32, columnDefinition = " VARCHAR(32) COMMENT '代办价格' ")
    private String agencyPrice;
    /**
     * 其他价格
     */
    @Column(name = "other_price", length=32, columnDefinition = " VARCHAR(32) COMMENT '其他价格' ")
    private String otherPrice;
    /**
     * 发动机号
     */
    @Column(name = "engine_num", length = 32, columnDefinition = "VARCHAR(32) COMMENT '发动机号'")
    private String engineNum;
    /**
     * 销售专员
     */
    @Column(name = "saler", length=32, columnDefinition = " VARCHAR(32) COMMENT '销售专员' ")
    private String saler;
    /**
     * 客户类型
     */
    @Column(name = "customer_type", length=32, columnDefinition = " VARCHAR(32) COMMENT '客户类型' ")
    private String customerType;
    /**
     * 客户姓名
     */
    @Column(name = "customer_name", length=32, columnDefinition = " VARCHAR(32) COMMENT '客户姓名' ")
    private String customerName;
    /**
     * 联系电话
     */
    @Column(name = "contact_phone", length=32, columnDefinition = " VARCHAR(32) COMMENT '联系电话' ")
    private String contactPhone;
    /**
     * 车主姓名
     */
    @Column(name = "owen_name", length=32, columnDefinition = " VARCHAR(32) COMMENT '车主姓名' ")
    private String owenName;
    /**
     * 车主联系电话
     */
    @Column(name = "owen_phone", length=32, columnDefinition = " VARCHAR(32) COMMENT '车主联系电话' ")
    private String owenPhone;
    /**
     * 出生日期
     */
    @Column(name = "birthday", length=32, columnDefinition = " VARCHAR(32) COMMENT '出生日期' ")
    private String birthday;
    /**
     * 证件类型
     */
    @Column(name = "certificates_type", length=32, columnDefinition = " VARCHAR(32) COMMENT '证件类型' ")
    private String certificatesType;
    /**
     * 证件号码
     */
    @Column(name = "certificates_num", length=32, columnDefinition = " VARCHAR(32) COMMENT '证件号码' ")
    private String certificatesNum;
    /**
     * 车系id
     */
    @Column(name = "car_series_id", length=32, columnDefinition = " VARCHAR(32) COMMENT '车系id' ")
    private String carSeriesId;
    /**
     * 车型id
     */
    @Column(name = "car_model_id", length=32, columnDefinition = " VARCHAR(32) COMMENT '车型id' ")
    private String carModelId;
    /**
     * 配置id
     */
    @Column(name = "configure_id", length=32, columnDefinition = " VARCHAR(32) COMMENT '配置id' ")
    private String configureId;
    /**
     * 外观颜色编号
     */
    @Column(name = "appearance_code", length=32, columnDefinition = " VARCHAR(32) COMMENT '外观颜色编号' ")
    private String appearanceCode;
    /**
     * 内饰编号
     */
    @Column(name = "trim_code", length=32, columnDefinition = " VARCHAR(32) COMMENT '内饰编号' ")
    private String trimCode;
    /**
     * 车辆仓库
     */
    @Column(name = "warehouse", length=32, columnDefinition = " VARCHAR(32) COMMENT '车辆仓库' ")
    private String warehouse;
    /**
     * 初次入库时间
     */
    @Column(name = "first_enter_warehouse_date", length=32, columnDefinition = " VARCHAR(32) COMMENT '初次入库时间' ")
    private String firstEnterWarehouseDate;
    /**
     * 开票日期
     */
    @Column(name = "invoice_date", length=32, columnDefinition = " VARCHAR(32) COMMENT '开票日期' ")
    private String invoiceDate;
    /**
     * 付款方式
     */
    @Column(name = "pay_type", length=1, columnDefinition = " VARCHAR(1) COMMENT '付款方式' ")
    private String payType;
    /**
     * 付款账号
     */
    @Column(name = "pay_num", length=32, columnDefinition = " VARCHAR(32) COMMENT '付款账户' ")
    private String payNum;
    /**
     * vin
     */
    @Column(name = "vin", length=32, columnDefinition = " VARCHAR(32) COMMENT 'vin' ")
    private String vin;
    /**
     * 车辆id
     */
    @Column(name = "car_id", length=50, columnDefinition = " VARCHAR(50) COMMENT '车辆id' ")
    private String carId;

    /**
     * 发票抬头
     */
    @Column(name = "invoice_header", length=32, columnDefinition = " VARCHAR(32) COMMENT '发票抬头' ")
    private String invoiceHeader;

    /**
     * 销售状态(0未出库1已出库)
     */
    @Column(name = "sale_status", length=1, columnDefinition = " VARCHAR(1) COMMENT '销售状态' ")
    private String saleStatus;
    /**
     * 公司Id
     */
    @Column(name = "company_id", length=32, columnDefinition = " VARCHAR(32) COMMENT '公司Id' ")
    private String companyId;
    /**
     * 年款
     */
    @Column(name = "model_year", length=32, columnDefinition = " VARCHAR(32) COMMENT '年款' ")
    private String modelYear;

    /**
     * 月结状态0未月结 1已月结
     */
    @Column(name = "monthly_status", length=1, columnDefinition = " VARCHAR(1) COMMENT '月结状态0未月结 1已月结' ")
    private String monthlyStatus;
    /**
     * 状态0正常1作废
     */
    @Column(name = "status", length=1, columnDefinition = " VARCHAR(1) COMMENT '状态0正常1作废' ")
    private String status;
    //数量
    @Column(name = "car_count", length=1, columnDefinition = " VARCHAR(1) COMMENT '数量' ")
    public String carCount;

    //作废时间
    @Column(name = "cancel_time", length=32, columnDefinition = " VARCHAR(32) COMMENT '作废时间' ")
    public String cancelTime;

    //出库车辆数量
    @Column(name = "out_count", length=32, columnDefinition = " VARCHAR(32) COMMENT '出库车辆数量' ")
    public String outCount;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMonthlyStatus() {
        return monthlyStatus;
    }

    public void setMonthlyStatus(String monthlyStatus) {
        this.monthlyStatus = monthlyStatus;
    }

    public String getSaleOrderNum() {
        return saleOrderNum;
    }

    public void setSaleOrderNum(String saleOrderNum) {
        this.saleOrderNum = saleOrderNum;
    }

    public String getInvoiceNum() {
        return invoiceNum;
    }

    public void setInvoiceNum(String invoiceNum) {
        this.invoiceNum = invoiceNum;
    }

    public String getInvoiceStatus() {
        return invoiceStatus;
    }

    public void setInvoiceStatus(String invoiceStatus) {
        this.invoiceStatus = invoiceStatus;
    }

    public String getSaleOrderPrice() {
        return saleOrderPrice;
    }

    public void setSaleOrderPrice(String saleOrderPrice) {
        this.saleOrderPrice = saleOrderPrice;
    }

    public String getInvoicePrice() {
        return invoicePrice;
    }

    public void setInvoicePrice(String invoicePrice) {
        this.invoicePrice = invoicePrice;
    }

    public String getCarPrice() {
        return carPrice;
    }

    public void setCarPrice(String carPrice) {
        this.carPrice = carPrice;
    }

    public String getEquipmentPrice() {
        return equipmentPrice;
    }

    public void setEquipmentPrice(String equipmentPrice) {
        this.equipmentPrice = equipmentPrice;
    }

    public String getExsurancePrice() {
        return exsurancePrice;
    }

    public void setExsurancePrice(String exsurancePrice) {
        this.exsurancePrice = exsurancePrice;
    }

    public String getAgencyPrice() {
        return agencyPrice;
    }

    public void setAgencyPrice(String agencyPrice) {
        this.agencyPrice = agencyPrice;
    }

    public String getOtherPrice() {
        return otherPrice;
    }

    public void setOtherPrice(String otherPrice) {
        this.otherPrice = otherPrice;
    }

    public String getEngineNum() {
        return engineNum;
    }

    public void setEngineNum(String engineNum) {
        this.engineNum = engineNum;
    }

    public String getSaler() {
        return saler;
    }

    public void setSaler(String saler) {
        this.saler = saler;
    }

    public String getCustomerType() {
        return customerType;
    }

    public void setCustomerType(String customerType) {
        this.customerType = customerType;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getCertificatesType() {
        return certificatesType;
    }

    public void setCertificatesType(String certificatesType) {
        this.certificatesType = certificatesType;
    }

    public String getCertificatesNum() {
        return certificatesNum;
    }

    public void setCertificatesNum(String certificatesNum) {
        this.certificatesNum = certificatesNum;
    }

    public String getCarSeriesId() {
        return carSeriesId;
    }

    public void setCarSeriesId(String carSeriesId) {
        this.carSeriesId = carSeriesId;
    }

    public String getCarModelId() {
        return carModelId;
    }

    public void setCarModelId(String carModelId) {
        this.carModelId = carModelId;
    }

    public String getConfigureId() {
        return configureId;
    }

    public void setConfigureId(String configureId) {
        this.configureId = configureId;
    }

    public String getAppearanceCode() {
        return appearanceCode;
    }

    public void setAppearanceCode(String appearanceCode) {
        this.appearanceCode = appearanceCode;
    }

    public String getTrimCode() {
        return trimCode;
    }

    public void setTrimCode(String trimCode) {
        this.trimCode = trimCode;
    }

    public String getWarehouse() {
        return warehouse;
    }

    public void setWarehouse(String warehouse) {
        this.warehouse = warehouse;
    }

    public String getFirstEnterWarehouseDate() {
        return firstEnterWarehouseDate;
    }

    public void setFirstEnterWarehouseDate(String firstEnterWarehouseDate) {
        this.firstEnterWarehouseDate = firstEnterWarehouseDate;
    }

    public String getInvoiceDate() {
        return invoiceDate;
    }

    public void setInvoiceDate(String invoiceDate) {
        this.invoiceDate = invoiceDate;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getPayNum() {
        return payNum;
    }

    public void setPayNum(String payNum) {
        this.payNum = payNum;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getInvoiceHeader() {
        return invoiceHeader;
    }

    public void setInvoiceHeader(String invoiceHeader) {
        this.invoiceHeader = invoiceHeader;
    }

    public String getSaleStatus() {
        return saleStatus;
    }

    public void setSaleStatus(String saleStatus) {
        this.saleStatus = saleStatus;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getModelYear() {
        return modelYear;
    }

    public void setModelYear(String modelYear) {
        this.modelYear = modelYear;
    }

    public String getOwenName() {
        return owenName;
    }

    public void setOwenName(String owenName) {
        this.owenName = owenName;
    }

    public String getOwenPhone() {
        return owenPhone;
    }

    public void setOwenPhone(String owenPhone) {
        this.owenPhone = owenPhone;
    }

    public String getCarId() {
        return carId;
    }

    public void setCarId(String carId) {
        this.carId = carId;
    }

    public String getCarCount() {
        return carCount;
    }

    public void setCarCount(String carCount) {
        this.carCount = carCount;
    }

    public String getCancelTime() {
        return cancelTime;
    }

    public void setCancelTime(String cancelTime) {
        this.cancelTime = cancelTime;
    }

    public String getOutCount() {
        return outCount;
    }

    public void setOutCount(String outCount) {
        this.outCount = outCount;
    }
}
